//package com.gxa.service.gouhuoservice.Impl;
//
//
//import com.gxa.common.R;
//import com.gxa.mapper.gouhuomapper.SaveAddMapper;
//import com.gxa.mapper.gouhuomapper.ShangPin46Mapper;
//import com.gxa.service.gouhuoservice.SaveAddService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import javax.xml.crypto.Data;
//
//@Service
//public class SaveAddImplService implements SaveAddService {
//
//    @Autowired
//    private SaveAddMapper saveAddMapper;
//
//    @Override
//    public R insertGouHuo(String gongYinShangId, String jieSuanZhangHuId, Data danJuRiQi, int shenHeZhuangTai, float zongJinE, String danJuBianHao, String beiZhu, float benCiFuKuan, int yeWuTypeId) {
//        R r = new R();
//      int res = SaveAddMapper.insertGouHuoDan(id);
//       r.setCode(500);
//      r.setMsg("新增失败");
//      if (res > 0) {
//      r.setCode(200);
//      r.setMsg("新增成功");
//      }
//      return r;
//    }
//
//    @Override
//    public R insertGouHuoShangPin(int shangPinId, int cangKuId) {
//        return null;
//    }
//
//    @Override
//    public R insertGouHuoDan1(String gongYinShangId, String jieSuanZhangHuId, Data danJuRiQi, int shenHeZhuangTai, float zongJinE, String danJuBianHao, String beiZhu, float benCiFuKuan, int yeWuTypeId, int shangPinId, int cangKuId) {
//        return null;
//    }
//
////    @Override
////    public R insertGouHuoDan (String gongYinShangId, String jieSuanZhangHuId, Data danJuRiQi, int shenHeZhuangTai,
////                              float zongJinE, String danJuBianHao, String beiZhu, float benCiFuKuan, int yeWuTypeId) {
////        R r = new R();
////        int res = SaveAddMapper.insertGouHuoDan(id);
////        r.setCode(500);
////        r.setMsg("新增失败");
////        if (res > 0) {
////            r.setCode(200);
////            r.setMsg("新增成功");
////        }
////        return r;
////        @Override
////        public R insertGouHuoShangPin ( int shangPinId, int cangKuId){
////
////            R r = new R();
////            int res = SaveAddMapper.insertGouHuoDan(id);
////            r.setCode(500);
////            r.setMsg("新增失败");
////            if (res > 0) {
////                r.setCode(200);
////                r.setMsg("新增成功");
////            }
////            @Override
////            public R insertGouHuoDan1 {
////
////            }
////        }
//
//    }